package com.yunxin.core.infra.common.merchant.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Getter
public enum MerchantStatusEnum implements IBaseEnum<Integer> {

    /**
     * 商户状态 1.禁用 2.启用
     */
    PERSON(1, "禁用"),
    ENTERPRISE(2, "启用");

    private final Integer value;

    private final String label;


    MerchantStatusEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
